package entity

import (
	"time"
)

type User struct {
	UserID       int    `gorm:"primary_key;AUTO_INCREMENT"`
	UserName     string `gorm:"unique_index;size:255"`
	DeviceNumber string `gorm:"size:255"`
	Ip           string `gorm:"size:255"`
	//RegisterType int       `gorm:"column:user_register_type;not null;type:smallint"`
	CreatedAt time.Time
	UpdatedAt time.Time
}

//func (Role) TableName() string {
//	return "roles"
//}
